package com.hyper_yang._03_designpatterns.principles.demo5.next;

/**
 * projectName: com.hyper_yang._03_designpatterns.principles.demo5.next
 *
 * @author: sakiko
 * time: 2025/9/26 22:17
 * description: 现在不会道德绑架，现在是 接口隔离！！！ 好欸！ 【每个类建立自己的专用接口，而不是建立万能接口】
 */
public class SakiSafetyDoor implements AntiTheft,FireProof{
    @Override
    public void antiTheft() {
        System.out.println("SakiSafetyDoor.antiTheft");
    }

    @Override
    public void fireProof() {
        System.out.println("SakiSafetyDoor.fireProof");
    }
}
